package cn.edu.nju.freshdelivery.service;

import java.util.List;

import javax.annotation.Resource;

import cn.edu.nju.freshdelivery.dao.DishDAO;
import cn.edu.nju.freshdelivery.model.Dish;
import cn.edu.nju.freshdelivery.model.Seller;

public interface DishService {

	public DishDAO getDishDAO();

	@Resource
	public void setDishDAO(DishDAO dishDAO);

	public void add(Dish dish);

	public void modify(Dish dish);

	public List<Dish> findBySeller(Seller seller);

	public Dish findById(int id);

}